package com.hitrust.gs.bean;

import java.sql.ResultSet;
import java.sql.SQLException;
import com.hitrust.gs.service.GSBaseBean;
/**
 * GSWareHouseBean 2009-03-10
 */
public class GSWareHouseBean implements GSBaseBean{
    private String id;
    private String code;
    private String name;
    private String full_name;
    private String address;
    private String contact_person;
    private String contack_tel;
    private int display_order;
    private String remark;
    private String status;
    private String create_user_id;
    private String create_user;
    private String create_time;
    private String last_update_user_id;
    private String last_update_user;
    private String last_update_time;
    private String is_show;
    private String agent_flag;
    /**
    * @return the contact_person
    */
    public String getContact_person(){
        return this.contact_person;
    }
    /**
    * @param aContact_person the contact_person to set
    */
    public void setContact_person(String aContact_person){
        this.contact_person = aContact_person;
    }
    /**
    * @return the create_time
    */
    public String getCreate_time(){
        return this.create_time;
    }
    /**
    * @param aCreate_time the create_time to set
    */
    public void setCreate_time(String aCreate_time){
        this.create_time = aCreate_time;
    }
    /**
    * @return the contack_tel
    */
    public String getContack_tel(){
        return this.contack_tel;
    }
    /**
    * @param aContack_tel the contack_tel to set
    */
    public void setContack_tel(String aContack_tel){
        this.contack_tel = aContack_tel;
    }
    /**
    * @return the address
    */
    public String getAddress(){
        return this.address;
    }
    /**
    * @param aAddress the address to set
    */
    public void setAddress(String aAddress){
        this.address = aAddress;
    }
    /**
    * @return the last_update_user
    */
    public String getLast_update_user(){
        return this.last_update_user;
    }
    /**
    * @param aLast_update_user the last_update_user to set
    */
    public void setLast_update_user(String aLast_update_user){
        this.last_update_user = aLast_update_user;
    }
    /**
    * @return the agent_flag
    */
    public String getAgent_flag(){
        return this.agent_flag;
    }
    /**
    * @param aAgent_flag the agent_flag to set
    */
    public void setAgent_flag(String aAgent_flag){
        this.agent_flag = aAgent_flag;
    }
    /**
    * @return the status
    */
    public String getStatus(){
        return this.status;
    }
    /**
    * @param aStatus the status to set
    */
    public void setStatus(String aStatus){
        this.status = aStatus;
    }
    /**
    * @return the remark
    */
    public String getRemark(){
        return this.remark;
    }
    /**
    * @param aRemark the remark to set
    */
    public void setRemark(String aRemark){
        this.remark = aRemark;
    }
    /**
    * @return the id
    */
    public String getId(){
        return this.id;
    }
    /**
    * @param aId the id to set
    */
    public void setId(String aId){
        this.id = aId;
    }
    /**
    * @return the create_user_id
    */
    public String getCreate_user_id(){
        return this.create_user_id;
    }
    /**
    * @param aCreate_user_id the create_user_id to set
    */
    public void setCreate_user_id(String aCreate_user_id){
        this.create_user_id = aCreate_user_id;
    }
    /**
    * @return the create_user
    */
    public String getCreate_user(){
        return this.create_user;
    }
    /**
    * @param aCreate_user the create_user to set
    */
    public void setCreate_user(String aCreate_user){
        this.create_user = aCreate_user;
    }
    /**
    * @return the code
    */
    public String getCode(){
        return this.code;
    }
    /**
    * @param aCode the code to set
    */
    public void setCode(String aCode){
        this.code = aCode;
    }
    /**
    * @return the last_update_time
    */
    public String getLast_update_time(){
        return this.last_update_time;
    }
    /**
    * @param aLast_update_time the last_update_time to set
    */
    public void setLast_update_time(String aLast_update_time){
        this.last_update_time = aLast_update_time;
    }
    /**
    * @return the full_name
    */
    public String getFull_name(){
        return this.full_name;
    }
    /**
    * @param aFull_name the full_name to set
    */
    public void setFull_name(String aFull_name){
        this.full_name = aFull_name;
    }
    /**
    * @return the last_update_user_id
    */
    public String getLast_update_user_id(){
        return this.last_update_user_id;
    }
    /**
    * @param aLast_update_user_id the last_update_user_id to set
    */
    public void setLast_update_user_id(String aLast_update_user_id){
        this.last_update_user_id = aLast_update_user_id;
    }
    /**
    * @return the name
    */
    public String getName(){
        return this.name;
    }
    /**
    * @param aName the name to set
    */
    public void setName(String aName){
        this.name = aName;
    }
    /**
    * @return the is_show
    */
    public String getIs_show(){
        return this.is_show;
    }
    /**
    * @param aIs_show the is_show to set
    */
    public void setIs_show(String aIs_show){
        this.is_show = aIs_show;
    }
    /**
    * @return the display_order
    */
    public int getDisplay_order(){
        return this.display_order;
    }
    /**
    * @param aDisplay_order the display_order to set
    */
    public void setDisplay_order(int aDisplay_order){
        this.display_order = aDisplay_order;
    }
    public Object process(ResultSet aResultSet) throws SQLException {
        GSWareHouseBean tGSWareHouseBean=new GSWareHouseBean();
        tGSWareHouseBean.contact_person = aResultSet.getString("contact_person")==null?"":aResultSet.getString("contact_person").trim();
        tGSWareHouseBean.create_time = aResultSet.getString("create_time")==null?"":aResultSet.getString("create_time").trim();
        tGSWareHouseBean.contack_tel = aResultSet.getString("contack_tel")==null?"":aResultSet.getString("contack_tel").trim();
        tGSWareHouseBean.address = aResultSet.getString("address")==null?"":aResultSet.getString("address").trim();
        tGSWareHouseBean.last_update_user = aResultSet.getString("last_update_user")==null?"":aResultSet.getString("last_update_user").trim();
        tGSWareHouseBean.agent_flag = aResultSet.getString("agent_flag")==null?"":aResultSet.getString("agent_flag").trim();
        tGSWareHouseBean.status = aResultSet.getString("status")==null?"":aResultSet.getString("status").trim();
        tGSWareHouseBean.remark = aResultSet.getString("remark")==null?"":aResultSet.getString("remark").trim();
        tGSWareHouseBean.id = aResultSet.getString("id")==null?"":aResultSet.getString("id").trim();
        tGSWareHouseBean.create_user_id = aResultSet.getString("create_user_id")==null?"":aResultSet.getString("create_user_id").trim();
        tGSWareHouseBean.create_user = aResultSet.getString("create_user")==null?"":aResultSet.getString("create_user").trim();
        tGSWareHouseBean.code = aResultSet.getString("code")==null?"":aResultSet.getString("code").trim();
        tGSWareHouseBean.last_update_time = aResultSet.getString("last_update_time")==null?"":aResultSet.getString("last_update_time").trim();
        tGSWareHouseBean.full_name = aResultSet.getString("full_name")==null?"":aResultSet.getString("full_name").trim();
        tGSWareHouseBean.last_update_user_id = aResultSet.getString("last_update_user_id")==null?"":aResultSet.getString("last_update_user_id").trim();
        tGSWareHouseBean.name = aResultSet.getString("name")==null?"":aResultSet.getString("name").trim();
        tGSWareHouseBean.is_show = aResultSet.getString("is_show")==null?"":aResultSet.getString("is_show").trim();
        tGSWareHouseBean.display_order = aResultSet.getInt("display_order");
        return tGSWareHouseBean;
    }
}